package NavFooterView;

use strict;

use CGI qw(:standard);
use Athena::WebAPI::View;

use base ("View");

sub new {
  # Get the class name
  my $stInvocant = shift(@_);
  my $stClass = ref($stInvocant) || $stInvocant;

  # Create the current instance and bless into class
  my $rSelf = { };
  bless($rSelf,$stClass);

  $rSelf->{params} = shift(@_);
  return $rSelf;
}

sub draw {
   my $rSelf = shift(@_);
   my $stNavBar;
   $stNavBar = 
     " ".b("CURRENT LOAD BALANCER: " . $rSelf->{params}->{lb});
   return '<font color="#666666" size=-1>'.$stNavBar.'</font>';
}

1;
